package com.hejielife.activeobject1;

/**
 * 2019年8月2日 下午5:15:51
 * 
 * @author hejielife
 * @despribe DisplayStringRequest
 */
class DisplayStringRequest extends MethodRequest {
	private final String string;

	public DisplayStringRequest(Servant servant, String string) {
		super(servant, null);
		this.string = string;
	}

	public void execute() {
		servant.displayString(string);
	}
}
